﻿using UnityEngine;

//This class will handle menus, as well as instantiate Levels
public class GameManager
{
    private static GameManager _instance;
    public static GameManager Instance { get { return _instance ?? (_instance = new GameManager()); } }

    private GameManager()
    {

    }

    public int Points { get; private set; }

    public void Reset()
    {
        Points = 0;
    }

    public void SetPoints(int points)
    {
        Points = points;
    }

    public void AddPoints(int pointsToAdd)
    {
        Points += pointsToAdd;
    }

}

